/*
 * @Author: szx
 * @Date: 2023-04-17 15:31:29
 * @LastEditTime: 2023-04-17 15:31:32
 * @Description: 
 * @FilePath: \learn\fullstackopen\part6\redux-anecdotes-main\src\reducers\notificationReducer copy.js
 */
import { createSlice } from '@reduxjs/toolkit'
const filterSlice = createSlice({
    name: 'filter',
    initialState: '',
    reducers: {
        setFilter: (state, action) => {
            return action.payload;
        }
    }
})
export const { setFilter } = filterSlice.actions
export default filterSlice.reducer